package com.loveprogrammer.eternity.skill.support.states;

import com.loveprogrammer.eternity.model.Character;

import java.util.List;

/**
 * @version 1.0.0
 * @description: 嘲讽
 * @author: eric
 * @date: 2022-09-02 14:43
 **/
public class TauntState extends AbstractPositiveState {

    private final int increArm;

    public TauntState(Character character, List<? extends Character> camp,int increArm) {
        super(character, camp);
        this.increArm = increArm;
    }

    @Override
    public int id() {
        return 8;
    }

    @Override
    public String name() {
        return "嘲讽";
    }

    @Override
    public String desc() {
        return "嘲讽";
    }

    @Override
    public void doReset() {
        getCharacter().setArmature(getCharacter().getArmature() - increArm);
        getCharacter().removeState(this);
    }

    @Override
    public int counterId() {
        return 92;
    }

    @Override
    public void run() {

    }
}
